package com.heima.model.article.pojos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 热文章表
 *
 * @TableName ap_hot_articles
 */
@TableName(value = "ap_hot_articles")
@Data
public class ApHotArticles implements Serializable {
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
    /**
     *
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     *
     */
    @TableField(value = "entry_id")
    private Object entryId;
    /**
     * 频道ID
     */
    @TableField(value = "tag_id")
    private Object tagId;
    /**
     * 频道名称
     */
    @TableField(value = "tag_name")
    private String tagName;
    /**
     * 热度评分
     */
    @TableField(value = "score")
    private Object score;
    /**
     * 文章ID
     */
    @TableField(value = "article_id")
    private Long articleId;
    /**
     * 省市
     */
    @TableField(value = "province_id")
    private Object provinceId;
    /**
     * 市区
     */
    @TableField(value = "city_id")
    private Object cityId;
    /**
     * 区县
     */
    @TableField(value = "county_id")
    private Object countyId;
    /**
     * 是否阅读
     */
    @TableField(value = "is_read")
    private Integer isRead;
    /**
     *
     */
    @TableField(value = "release_date")

    private Date releaseDate;
    /**
     * 创建时间
     */
    @TableField(value = "created_time")

    private Date createdTime;
}